﻿
using System.Collections;

namespace Xacml.Core.Policy
{
  public class TargetMatchCollectionReadWrite : CollectionBase
  {
    public virtual TargetMatchBaseReadWrite this[int i]
    {
      get
      {
        return (TargetMatchBaseReadWrite) this.List[i];
      }
      set
      {
        this.List[i] = (object) value;
      }
    }

    public virtual int Add(TargetMatchBaseReadWrite value)
    {
      return this.List.Add((object) value);
    }

    public new virtual void Clear()
    {
      base.Clear();
    }

    public new virtual void RemoveAt(int index)
    {
      base.RemoveAt(index);
    }
  }
}
